package com.yjzx.care.base;

import java.util.Optional;
import java.util.function.Supplier;

/**
 * @author guozhi
 * @description ValueGet
 * @since 2025/8/5
 */
public interface ValueGet<T> extends Supplier<T> {
    default Optional<T> getOptional() {
        return Optional.ofNullable(get());
    }
}
